package com.wanjia.estate.pojo.bdc;

import lombok.AccessLevel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 修改缴费状态
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class UpdateJfzt {

    @Data
    public static class JfztRequest implements Serializable {
        private JfztHead head;
        private JfztRequestData data;
    }

    @Data
    public static class JfztRequestData implements Serializable {
        private List<Ywsfxx> ywsfxx;
    }

    @Data
    public static class Ywsfxx implements Serializable {
        /**
         * 收费状态（）
         * 0已结算，1已挂账、2已退款
         */
        private String sfzt;
        /**
         * 设置人
         */
        private String ausetuser;
    }

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class Response extends AbstractResponse<String> {

    }


    @Data
    public static class JfztHead implements Serializable {
        private String username;     //授权用户名
        private String password;     //授权密码
        private String regioncode;     //行政区代码
        private String orgid;     //查询机构标识
    }
}
